package edu.gmu.projects.fireresponder.plan;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

public class PlanRoute extends PlanObjective {
	private ArrayList<PlanPath> route;

	public ArrayList<PlanPath> getRoute() {
		return route;
	}

	public void setRoute(ArrayList<PlanPath> route) {
		this.route = route;
	}

	@Override
	public Set<String> getPlanAssets() {
		Set<String> assets = new HashSet<String>();
		
		for (PlanPath p : route) {
			assets.add(p.getPath());
		}
		
		return assets;
	}
}
